package com.homeWork;

public class PE extends Employee{
    private String yearsOfExperience;

    public PE(String yearsOfExperience) {
        this.yearsOfExperience = yearsOfExperience;
    }

    public PE(String name, String address, String telephone, String email, String office, double salary, String hiredate, String yearsOfExperience) {
        super(name, address, telephone, email, office, salary, hiredate);
        this.yearsOfExperience = yearsOfExperience;
    }

    public String getYearsOfExperience() {
        return yearsOfExperience;
    }

    public void setYearsOfExperience(String yearsOfExperience) {
        this.yearsOfExperience = yearsOfExperience;
    }
}
